<template>
    <div>
        <van-search @click="tz" v-model="value" shape="round" background="#f88" placeholder="请输入搜索关键词" />

    </div>
</template>

<script setup>
import { defineProps } from 'vue'
import { useRouter } from 'vue-router'
const props=defineProps(['item'])

const router=useRouter()
const tz=()=>{
    router.push('/search')
}
</script>

<style lang="scss" scoped></style>